package com.gangquan360.smartadmin.module.product.domain.dto;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

/**
 * [ 产品表 ]
 *
 * @author wiggin
 * @version 1.0
 * @company wiggin
 * @copyright (c) 2018 wigginInc. All rights reserved.
 * @date 2019/3/27 0027 下午 12:27
 * @since JDK1.8
 */
@Data
public class ProductDTO {

    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("产品名称")
    private String name;

    @ApiModelProperty("产品规格")
    private String specification;

    @ApiModelProperty("规格书编号")
    private String specNo;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("产品采购价格")
    private BigDecimal purchasePrice;

    @ApiModelProperty("库存数量")
    private Integer stock;

    @ApiModelProperty("分类")
    private Integer category;
    
    @ApiModelProperty("分类所有路径id")
    private String categoryPath;

    @ApiModelProperty("标签")
    private String tags;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


}
